package com.ecoolex.ying.space.ws;

import com.ecoolex.framework.common.exception.BizException;
import com.ecoolex.framework.common.pojo.Page;
import com.ecoolex.framework.common.pojo.Pagination;
import com.ecoolex.framework.common.pojo.Sorting;
import com.ecoolex.ying.space.entity.EstateProjectActivityBrand;

public interface EstateProjectActivityBrandService {

	EstateProjectActivityBrand get(Integer brandId);
	
	Pagination<EstateProjectActivityBrand> query(Integer projectId,String name,Sorting[] sorts,Page page);
	
	Pagination<EstateProjectActivityBrand> queryForH5(Integer projectId,Page page);
	
	EstateProjectActivityBrand add(EstateProjectActivityBrand add,String createUser) throws BizException;
	
	EstateProjectActivityBrand edit(EstateProjectActivityBrand edit,String updateUser) throws BizException;
	
	void delete(EstateProjectActivityBrand record,String updateUser) throws BizException;
	
	void online(EstateProjectActivityBrand record,String updateUser) throws BizException;
	
	void offline(EstateProjectActivityBrand record,String updateUser) throws BizException;
}
